package controller;

import globals.SystemGeneralState;
import gui.catalogues.persons.PersonDTO;

import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import model.CollateralClient;
import model.DatabaseCommons;
import model.Person;




public class GeneralController {
	// DummyDB db = new DummyDB();
	DatabaseCommons dbc = new DatabaseCommons();

	public void connectToDB() throws SQLException {
		dbc.h2Connect();
	}

	public void disconnectFromDB() throws SQLException {
		dbc.disconnect();
	}
	
	public void stopDB() {
		dbc.stopH2Server();
	}
}
